

$path = Join-Path \\server01\folder01 $file
$readfile = Get-Content $path